package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用于存储盘点单明细信息的对象 hmz_inventory_check_detail
 * 
 * @author ruoyi
 * @date 2023-11-10
 */
public class HmzInventoryCheckDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盘点单明细唯一标识符 */
    private Long id;

    /** 盘点单唯一标识符 */
    @Excel(name = "盘点单唯一标识符")
    private Long inventoryCheckId;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String inventoryCheckNumber;

    /** 产品唯一标识符 */
    @Excel(name = "产品唯一标识符")
    private Long productId;

    /** 仓库唯一标识符 */
    @Excel(name = "仓库唯一标识符")
    private Long warehouseId;

    /** 盘点状态 */
    @Excel(name = "盘点状态")
    private String inventoryStatus;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInventoryCheckId(Long inventoryCheckId) 
    {
        this.inventoryCheckId = inventoryCheckId;
    }

    public Long getInventoryCheckId() 
    {
        return inventoryCheckId;
    }
    public void setInventoryCheckNumber(String inventoryCheckNumber) 
    {
        this.inventoryCheckNumber = inventoryCheckNumber;
    }

    public String getInventoryCheckNumber() 
    {
        return inventoryCheckNumber;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setInventoryStatus(String inventoryStatus) 
    {
        this.inventoryStatus = inventoryStatus;
    }

    public String getInventoryStatus() 
    {
        return inventoryStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inventoryCheckId", getInventoryCheckId())
            .append("inventoryCheckNumber", getInventoryCheckNumber())
            .append("productId", getProductId())
            .append("warehouseId", getWarehouseId())
            .append("inventoryStatus", getInventoryStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
